package com.cqjtu.tto.dao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author：monkey-L
 * @description: 权限类
 * @date: 20:48 2021/12/8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Permissions implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
//    @TableId(type = IdType.AUTO)
    private Long permissionsId;

    private String permissionsName;

    @TableLogic
    private Integer permissionsDeleted;
}

